﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace CobreDireto.net
{
    /// <summary>
    /// Representa os dados básicos do consumidor
    /// </summary>
    public class CustomerItem
    {
        /// <summary>
        /// Primeiro nome do consumidor
        /// </summary>
        [XmlElement("first_name")]
        public string FirstName { get; set; }

        /// <summary>
        /// Nome do meio do consumidor
        /// </summary>
        [XmlElement("middle_name")]
        public string MiddleName { get; set; }


        /// <summary>
        /// Último nome
        /// </summary>
        [XmlElement("last_name")]
        public string LastName { get; set; }


        /// <summary>
        /// E-mail válido
        /// </summary>
        [XmlElement("email")]
        public string Email { get; set; }

        /// <summary>
        /// Documento (normalmente CPF)
        /// </summary>
        [XmlElement("document")]
        public string Document { get; set; }


        /// <summary>
        /// Telefone residencial
        /// </summary>
        [XmlElement("phone_home")]
        public Phone PhoneHome { get; set; }

        /// <summary>
        /// CEP sem os hifens
        /// </summary>
        [XmlElement("address_zip")]
        public string AddressZip { get; set; }
        
    }
}
